package com.ruoyi.erecord.locus.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.Translation;
import com.ruoyi.common.constant.TransConstant;
import lombok.Data;

import java.util.Date;


/**
 * 轨迹-人员状态视图对象 t_locus_state
 *
 * @author cc
 * @date 2023-05-15
 */
@Data
@ExcelIgnoreUnannotated
public class LocusStateVo {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String id;

    /**
     * 设备类型
     */
    @ExcelProperty(value = "设备类型")
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL, other = "device_type")
    private String deviceType;

    /**
     * 姓名|车牌号
     */
    @ExcelProperty(value = "姓名|车牌号")
    private String deviceName;

    /**
     * 编码
     */
    @ExcelProperty(value = "编码")
    private String deviceCode;

    /**
     * 设备原始ID(车辆表ID|人员表ID)
     */
    @ExcelProperty(value = "设备原始ID(车辆表ID|人员表ID)")
    private String deviceOriginalId;

    /**
     * 创建日期
     */
    @ExcelProperty(value = "创建日期")
    private Date createTime;

    /**
     * 充电状态
     */
    @ExcelProperty(value = "充电状态")
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL, other = "charge_state")
    private String powerState;

    /**
     * GPS状态
     */
    @ExcelProperty(value = "GPS状态")
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL, other = "gps_state")
    private String gpsState;

    /**
     * GSM信号等级
     */
    @ExcelProperty(value = "GSM信号等级")
    private Long gsmLevel;

    /**
     * 电量
     */
    @ExcelProperty(value = "电量")
    private Long powerLevel;

    /**
     * 告警扩展
     */
    @ExcelProperty(value = "告警扩展")
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL, other = "warning_ext_info")
    private String alertState;

    /**
     * 报警状态
     */
    @ExcelProperty(value = "报警状态")
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL, other = "warning_state")
    private String alarmState;

    /**
     * 运动状态
     */
    @ExcelProperty(value = "运动状态")
    @Translation(type = TransConstant.DICT_TYPE_TO_LABEL, other = "locus_yes_no")
    private String sportState;

    /**
     * 定位日期 查询用
     */
    //    @ExcelProperty(value = "定位日期")
    private Date queryDate;


}
